package com.baizhi.entity;

import java.io.Serializable;
import java.util.List;

//科室表t_department
public class Department implements Serializable {
    private Integer did;
    private String name;
    private String telephone;
    private String area;
    //当前科室下的分诊记录人数
    private Integer size;
//    private List<Triage> triages;
    public Department() {
    }

    public Department(Integer did, String name, String telephone, String area) {
        this.did = did;
        this.name = name;
        this.telephone = telephone;
        this.area = area;
    }

    public Integer getSize() {
        return size;
    }

    public void setSize(Integer size) {
        this.size = size;
    }

    public Integer getDid() {
        return did;
    }

    public void setDid(Integer did) {
        this.did = did;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    @Override
    public String toString() {
        return "Department{" +
                "did=" + did +
                ", name='" + name + '\'' +
                ", telephone='" + telephone + '\'' +
                ", area='" + area + '\'' +
                '}';
    }
}
